package text;

/**
 * Created by lenovo on 2016/3/20.
 */
class some{
    void someMethod(int i){
        System.out.println("int版本被调用");
    }
    void someMethod(Integer integer){
        System.out.println("Integer 版本被调用");
    }
}
public class OverloadBoxing {
    public static void main(String[] args) {
        some s=new some();
        s.someMethod(1);
    }
}
